﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// An error mapping the request data to internal data objects. Ensure 
	/// that the properties being sent match properties in the specification.
	/// </summary>
	public class InvalidRequestFormat : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.InvalidRequestFormat class.
		/// </summary>
		public InvalidRequestFormat(Exception innerException)
			: base(5, innerException, "An error mapping the request data to internal data objects. Ensure that the properties being sent match properties in the specification.")
		{
		}
	}
}
